package com.jy.adscm.operation.base.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.jy.adscm.operation.base.bean.DmSzmc;
import com.jy.adscm.operation.base.mapper.mysql.DmSzmcMapper;
import com.jy.adscm.operation.base.service.DmSzmcService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yyy
 * @since 2019-01-08
 */
@Service
public class DmSzmcServiceImpl extends ServiceImpl<DmSzmcMapper, DmSzmc> implements DmSzmcService {
@Autowired
DmSzmcMapper dmSzmcMapper;
    @Override
    public List<DmSzmc> queryAll() {
        return dmSzmcMapper.queryAll();
    }

    @Override
    public int addszmc(DmSzmc dmSzmc) {
        return dmSzmcMapper.addszmc(dmSzmc);
    }
}
